﻿@model IEnumerable<Pyramid.Models.FinanceAccount>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="@Url.Action("Create")" target="dialog" mask="true" width="720" title="添加收款账号"><span>添加</span></a></li>
			<li><a class="edit" href="@Url.Action("Edit",new {id="{id}"})" target="dialog" mask="true" width="720" title="编辑收款账号"><span>修改</span></a></li>
			<li><a class="delete" href="@Url.Action("Delete",new {id="{id}"})" target="ajaxTodo" title="确定要删除吗？"><span>删除</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layouth="138">
		<thead>
			<tr>
				<th width="120">@Html.DisplayNameFor(model=>model.Id)</th>
				<th width="250">@Html.DisplayNameFor(model=>model.AccountType)</th>
				<th width="250">@Html.DisplayNameFor(model=>model.Account)</th>
				<th>@Html.DisplayNameFor(model=>model.Remark)</th>
			</tr>
		</thead>
		<tbody>
			@foreach (var item in Model)
			{
				<tr target="id" rel="@item.Id">
					<td>
						@item.Id
					</td>
					<td>
						@item.AccountType
					</td>
					<td>
						@item.Account
					</td>
					<td>
						@item.Remark
					</td>
				</tr>
			}
		</tbody>
	</table>
</div>
